{% extends 'teacher/layout.html' %}
{% block content %}
<div class="main-content">
<div class="breadcrumbs" id="breadcrumbs">
    <ul class="breadcrumb">
        <li>
            <i class="ace-icon fa fa-home home-icon"></i>
            <a>视频管理</a>
        </li>
        <li>
            <a href="/teacher/movie_list/1/">课时视频</a>
        </li>
        <li>
            <a>添加</a>
        </li>
    </ul><!-- /.breadcrumb -->
</div>
<div style="height: 35px;"></div>
<form class="form-horizontal" role="form" method="post" enctype="multipart/form-data">
    {% for msg in get_flashed_messages(category_filter=["ok"]) %}
        <div class="alert alert-success alert-dismissible">
            {{ msg }}
        </div>
    {% endfor %}
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 课时视频名称：</label>
        <div class="col-sm-9">
            <input type="text" id="form-field-1" name="name" placeholder="输入课时视频名称" class="col-xs-10 col-sm-5" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 添加课时视频：</label>
        <div class="col-sm-9">
            <input type="file" id="form-field-1" name="movie" placeholder="输入课时视频名称" class="col-xs-10 col-sm-5">
        </div>
    </div>

    <div class="space-4"></div>
    <div class="clearfix form-actions">
        <div class="col-md-offset-3 col-md-9">
            <button class="btn btn-info" type="submit">
                <i class="ace-icon fa fa-check bigger-110"></i>
                立即提交
            </button>

            &nbsp; &nbsp; &nbsp;
            <button class="btn" type="reset">
                <i class="ace-icon fa fa-undo bigger-110"></i>
                重置
            </button>
        </div>
    </div>
    <div class="hr hr-24"></div>
</form>
{% endblock %}